package com.open.capacity.points.dto;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author moonholder
 * @Description //起始日期查询
 * @Date 10:39 2021/2/3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DateQuery {
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
}
